package com.xlf.service.blog.domain.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 *
 */
@Data
public class AddCommentDTO2 {



    /**
     * 回复的文章id
     */
    private Long typeId;

    /**
     * 类型 (1文章 2友链 )
     */
    private Integer commentType;

    /**
     * 父评论id
     */
    private Long parentId;

    /**
     * 回复的根评论id
     */
    private Long replyId;

    /**
     * 评论内容
     */
    @NotBlank(message = "回复内容不能为空")
    private String commentContent;


    /**
     * 被评论的用户名
     */
    private String toNickName;

    private String avatar;

    @NotBlank(message = "回复昵称不能为空")
    private String nickName;

    @NotBlank(message = "回复邮箱不能为空")
    private String email;

    private String webSite;

}
